﻿using AutoMapper;
using MyEartags.EarTag;
using MyEartags.Hint;
using MyEartags.Individual;
using MyEartags.PairVariety;
using MyEartags.SheepTag;
using MyEartags.WearSign;
using MyEartags.Zooid;

namespace MyEartags;

public class MyEartagsApplicationAutoMapperProfile : Profile
{
    public MyEartagsApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */

        CreateMap<VarietiesDto, Varieties>().ReverseMap();
        CreateMap<EaroverbitDto, Earoverbit>().ReverseMap();
        CreateMap<OverbitShowDto, Earoverbit>().ReverseMap();
        CreateMap<SheepLabelDto, SheepLabel>().ReverseMap();
        CreateMap<SheepLabelShowDto, SheepLabel>().ReverseMap();
        CreateMap<AllocationDto, Allocation>().ReverseMap();
        CreateMap<DeliveryDto, Delivery>().ReverseMap();
        CreateMap<GestationDto, Gestation>().ReverseMap();
        CreateMap<ZooidBuyDto, ZooidBuy>().ReverseMap();
        CreateMap<ZooidBuyShowDto, ZooidBuy>().ReverseMap();
    }
}
